﻿package
{
	import com.reyco1.extension.FullBrowserExtension;
	import flash.display.MovieClip;
	import flash.events.Event;
	
	public class FullBrowserTest extends FullBrowserExtension
	{
		
		public function FullBrowserTest()
		{
			this.stage.addEventListener(Event.RESIZE, this.doPositioning);
			this.positionObject();
		}
		
		private function positionObject():void
		{
			this.boxOnStage.x = this.stage.stageWidth * .5;
			this.boxOnStage.y = this.stage.stageHeight * .5;
		}
		
		private function doPositioning($event:Event):void
		{
			this.positionObject();
		}
				
	}	
	
}